const LoginUtils = {
  invalidatePhone: (phone: string): boolean => {
    if (!phone || (phone && phone.length < 11)) {
      return true;
    }
    return false;
  },

  invalidateVerifyCode: (code: string | number): boolean => {
    if (!code) {
      return true;
    }
    return false;
  },

  invalidateInviteCode: (code: string | number): boolean => {
    if (!code) {
      return true;
    }
    return false;
  }
};

export default LoginUtils;
